package cms.service.impl;


import cms.entity.Bill;
import cms.mapper.BillMapper;
import cms.service.csvService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class csvServiceImpl implements csvService {

    @Autowired
    private BillMapper billMapper;

    public boolean insert(Bill bill) {
        System.out.println("insert----Access");
        if (billMapper.insert(bill)!= 0) {
            System.out.println("----Access");
            return true;
        } else {
            return false;
        }
    }
}
